/**
 * 2025/01/01 - 2025/12/31
 */
package com.snail.server.database.engine.datasource.vo;

import lombok.Data;
import lombok.ToString;

/**
 *
 * @author zgadmin
 * @date 2025/9/8 17:34
 *
 */
@Data
@ToString
public class DataSourceTestVO {

    private boolean success;

    private String message;

    public static DataSourceTestVO of(boolean isSuccess, String message){
        DataSourceTestVO datasourceTestVO = new DataSourceTestVO();
        datasourceTestVO.setSuccess(isSuccess);
        datasourceTestVO.setMessage(message);
        return datasourceTestVO;
    }

}